<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft.ConnectionEngine/Schemas/ServiceProviderRegister" targetNamespace="http://Microsoft.ConnectionEngine/Schemas/ServiceProviderRegister" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="root" nillable="true">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="UserCredentials" type="UserCredentials"/>
				<xs:element name="MessageType" type="MessageType"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="UserCredentials">
		<xs:sequence>
			<xs:element name="UserName" type="xs:string"/>
			<xs:element name="Password" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MessageType">
		<xs:sequence>
			<xs:element name="MessageTypeID" type="xs:string" minOccurs="0"/>
			<xs:element name="Description" type="xs:string"/>
			<xs:element name="XmlSchema" type="xs:string" minOccurs="0"/>
			<xs:element name="Version" type="xs:string" minOccurs="0"/>
			<xs:element name="ServiceProviderTypes" type="ArrayOfServiceProviderTypes" nillable="true" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ArrayOfServiceProviderTypes">
		<xs:sequence>
			<xs:element name="ServiceProviderTypeMessageType" nillable="true" minOccurs="0" maxOccurs="unbounded">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ServiceProviderTypeMessageTypeID" type="xs:int"/>
						<xs:element name="MessageTypeID" type="xs:int"/>
						<xs:element name="SourceServiceProviderType" minOccurs="0" type="ServiceProviderType"/>
						<xs:element name="DestinationServiceProviderType" minOccurs="0" type="ServiceProviderType"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ServiceProviderType">
		<xs:sequence>
			<xs:element name="ServiceProviderTypeID" type="xs:string" minOccurs="0"/>
			<xs:element name="DisplayName" type="xs:string" minOccurs="0"/>
			<xs:element name="ServiceProviderTypeCode" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
